package cn.yunhe.dao;

import cn.yunhe.entity.Class;
import cn.yunhe.entity.Prof;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/6/6.
 */
@Repository("classDao")
public interface IClassDao {
    /**
     * 根据专业查找班级
     * @param prof
     * @return
     */
    List<Class> getAllClass(Prof prof);

    /**
     * 获取该老师所在院系的班级列表
     * @return
     */
    List<Object> getListClass(int id);
}
